home *** CD-ROM | disk | FTP | other *** search
- Path: fish.pond.com!usenet
- From: kannag@rpr.rpna.com
- Newsgroups: comp.lang.c
- Subject: OpenVMS system service routines
- Date: 28 Feb 1996 22:05:38 GMT
- Organization: FishNet
- Message-ID: <4h2jji$8mp@fish.pond.com>
- NNTP-Posting-Host: arctic-12.vf.pond.com
- X-Newsreader: AIR News 3.X (SPRY, Inc.)
-
- I'm trying to access the authorization file (UAF.DAT) to check the encrypted password and
- other user specific information. I'm using the SYS$HASH_PASSWORD and SYS$GETUAI
- routines. They seem to be working - the return status from my calls is a 1. However, the
- length that is returned is always some huge number, and the encryped password I get back from
- the GETUAI routine does not match the one returned from HASH_PASSWORD (i've made
- sure to use the right SALT and ALGORITHM parameters).
-
- I think my problems stem from the data structure being passed to the routines. The encryped
- password routine excepts a quadword (8 bytes). I've tried using double, long int, char,
- and a struct of two ints - all to no avail.
-
- Any comments from VAX System Gurus......
-
- Thanx in advance,
- Ganesh.
-
-